package com.yinhai.util;

import android.content.Context;

import com.tgb.lk.ahibernate.util.MyDBHelper;
import com.yinhai.model.CloudNote;
import com.yinhai.model.ContactGroup;
import com.yinhai.model.ContactsUser;
import com.yinhai.model.IMGroup;
import com.yinhai.model.IMList;
import com.yinhai.model.IMUserGroup;
import com.yinhai.model.MsgModel;
import com.yinhai.model.NewsContent;
import com.yinhai.model.OnlineContactDetail;

public class DBHelper extends MyDBHelper {
	private static final String DBNAME = "im.db";// 数据库名 
    private static final int DBVERSION = 37;  
    private static final Class<?>[] clazz = { ContactsUser.class,ContactGroup.class,OnlineContactDetail.class,MsgModel.class,IMList.class,IMGroup.class,IMUserGroup.class,NewsContent.class,CloudNote.class};// 要初始化的表  
  
    public DBHelper(Context context) {  
        super(context, DBNAME, null, DBVERSION, clazz); 
    }  
}
